﻿<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/content.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>公告信息管理</title>
		<script>
$(document).ready(function(){

		$("#title").focus();
		$("#bulletinForm").validate({
			 rules: { 
			},
			success: function(label) {
				label.html("&nbsp;").addClass("checked");
	        }	
		});
	});	
</script>
	</head>
	<body>

		<div class="rhead">
			<div class="rpos">
				当前位置: 互动管理 - 公告信息管理 - 添加公告信息
			</div>
			<div class="ropt"><input type="button" value="返回" onclick="history.back()"/></div>
			<div class="clear"></div>
		</div>

		<form action="enterpriseBulletinAction!add.action" method="post"
			id="bulletinForm" enctype="multipart/form-data" method="post">
			<table align="center" class="listTable3" width="90%">
				<tr>
					<td width="100px" class="pn-flabel">
						公告标题
					</td>
					<td>
						<input type="text" name="enterpriseBulletin.title" size="100" />
					</td>
				</tr>
				<!--  
				<tr>
					<td>
						显示时间
					</td>
					<td>
						<input type="text" name="initTime" onchange="checkDate()"
							id="initTime" readonly />
						<input id="starttimeBt" type="button" class="default_button"
							value="选择" />
						<script type="text/javascript">
						Calendar.setup({
							inputField     : "initTime",
							button	  	   : "starttimeBt",
							/*ifFormat       :    "%Y-%m-%d %H:%M",							
					        showsTime      :    true,
					        timeFormat     :    "24"*/
							ifFormat       :    "%Y-%m-%d"
						});
					</script>
						至
						<input type="text" name="endTime" onchange="checkDate()"
							id="endTime" readonly />
						<input id="endtimeBt" type="button" class="default_button"
							value="选择" />
						<script type="text/javascript">
						Calendar.setup({
							inputField     : "endTime",
							button	  	   : "endtimeBt",
							/*ifFormat       :    "%Y-%m-%d %H:%M",							
					        showsTime      :    true,
					        timeFormat     :    "24"*/
							ifFormat       :    "%Y-%m-%d"
						});
					</script>
					</td>
				</tr>
				-->
				<tr>
					<td class="pn-flabel">
						是否置顶
					</td>
					<td>
						<select name="enterpriseBulletin.isTop">
							<option value="0">
								否
							</option>
							<option value="1">
								是
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						状态
					</td>
					<td>
						<select name="enterpriseBulletin.state">
							<option value="1">
								已启用
							</option>
							<option value="0">
								已停用
							</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="pn-flabel">
						内容
					</td>
					<td>
						<FCK:editor instanceName="enterpriseBulletin.contents" width="870px" height="400px">
							<jsp:attribute name="value">
				    		</jsp:attribute>
						</FCK:editor>
						<!-- 
					<textarea style="visibility:hidden" id="contents" name="contents"
						  rows="1" cols="1">
					</textarea>
					<iframe id="myiframe"
						src="${ctx}/js/editor/SinaEditor/editor.htm?id=contents&ReadCookie=0"
					frameborder="0" scrolling="no"  width="700px" height="460px"></iframe>
					 -->
					</td>
				</tr>

				<tr>
					<td colspan="2" style="text-align:center">
						<input type="submit" value=" 提 交 " />
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

